package com.jz.legalpersonclass.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by WISE on 2021/12/27.
 */
@Data
public class LegalPersonAddVo {

    @NotBlank(message = "编码不能为空")
    private String legalPersonCode;

    @NotBlank(message = "法人外键不能为空")
    private String userId;

    @NotBlank(message = "名称不能为空")
    private String legalPersonName;

    @NotNull(message = "状态不能为空")
    private boolean enabled;


}
